<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>后台管理系统</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">

	<div class="layui-col-md6 layui-col-xs12">
		<div class="layui-form-item">
			<label class="layui-form-label">用户名</label>
			<div class="layui-input-inline">
				<input type="hidden" name="id" id="id">
				<input type="text" name="loginName" id="username" value="" class="layui-input">
			</div>
		</div>

		<div class="layui-form-item">
			<%--<div class="layui-col-lg6">--%>
				<label class="layui-form-label">用户角色</label>
				<div class="layui-input-inline">
					<input name="roleId" type="text" id="tree-select"  lay-verify="required" lay-filter="tree" class="layui-input" value="">
					<%--<input type="hidden" name="roleId" id="roleId"  autocomplete="off" class="layui-input" value="">--%>
					<%--<input type="text" name="name" id="name" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" value="">--%>
				</div>
			<%--</div>--%>
		</div>



		<div class="layui-form-item">
			<label class="layui-form-label">职业</label>
			<div id="realname">
			</div>
		</div>
		<%--<button type="button" class="layui-btn set1">设置多级1</button>--%>
		<div class="layui-form-item" pane="">
			<label class="layui-form-label">性别</label>
			<div class="layui-input-block userSex" id="sex">
				<input type="radio" name="sex" value="男" title="男" checked="">
				<input type="radio" name="sex" value="女" title="女">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">手机号码</label>
			<div class="layui-input-inline">
				<input type="tel" name="mobile" id="mobile" value="" placeholder="请输入手机号码" lay-verify="" class="layui-input userPhone">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">邮箱</label>
			<div class="layui-input-inline">
				<input type="text" name="email" id="email" value="" placeholder="请输入邮箱" lay-verify="" class="layui-input userEmail">
			</div>
		</div>
	</div>
	<div class="layui-row layui-col-space10 layui-form-item">
		<%--<div class="layui-col-lg6">--%>
			<label class="layui-form-label">是否启用：</label>
			<div class="layui-input-block">
				<input checked="" name="userType" id="userType" lay-skin="switch" lay-filter="switchTest" type="checkbox" lay-text="是|否">
			</div>
		<%--</div>--%>
	</div>


	<div class="layui-form-item">
		<%--<div class="layui-col-lg6">--%>
			<label class="layui-form-label">备注信息</label>
			<div class="layui-input-inline">
				<textarea placeholder="请输入备注信息" name="remarks" id="remarks" class="layui-textarea remarks"></textarea>
			</div>
		</div>/
	</div>

	<div class="layui-form-item layui-row layui-col-xs12">
		<div class="layui-input-block">
			<button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addUser">立即添加</button>
			<button type="reset" class="layui-btn layui-btn-sm layui-btn-primary">取消</button>
		</div>
	</div>
</form>
<script type="text/javascript" src="/layui/layui.js"></script>
<script src="/layui/mymodule/common.js"></script>
<script type="text/javascript" src="/js/sys_user/userAdd.js"></script>
</body>
</html>